package GestorJornada;

/**
 * @author Souhaila
 * @version 1.0
 * @created 28-abr-2013 15:13:26
 */
public class Jornada {

	public Integer IdCompeticion;
	public Integer IdJornada;
	public Integer NumJornada;

	public Jornada(){
            IdCompeticion=null;
            IdJornada=-1;
            NumJornada=null;

	}

	/**
	 * 
	 * @param IdCompeticion
	 * @param NumJornada
	 */
	public  Jornada(Integer Id_Competicion, Integer Num_Jornada){
		IdJornada=-1;
                IdCompeticion=Id_Competicion;
                NumJornada=Num_Jornada;
	}

	public Integer getIdCompeticion(){
		return IdCompeticion;
	}

	public Integer getIdJornada(){
		return IdJornada;
	}

	public Integer getNumJornada(){
		return NumJornada;
	}

	/**
	 * 
	 * @param IdCompeticion
	 */
	public void setIdCompeticion(Integer newIdCompeticion){
            IdCompeticion=newIdCompeticion;
        }

	/**
	 * 
	 * @param IdJornada
	 */
	public void setIdJornada(Integer newIdJornada){
            IdJornada=newIdJornada;
	}

	/**
	 * 
	 * @param NumJornada
	 */
	public void setNumJornada(Integer newNumJornada){
            NumJornada=newNumJornada;
	}

	/**
	 * 
	 * @param IdCompeticion
	 * @param NumJornada
	 */
	public void updateJornada(Integer Id_Competicion, Integer Num_Jornada){
            IdJornada=-1;
            IdCompeticion=Id_Competicion;
            NumJornada=Num_Jornada;

	}

}